package com.heima.model.comment.pojos;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @Author ItZheng
 * @Date 2023/6/28 14:33
 * @Version 1.5
 */
@Data
@Document("ap_comment_repay")
public class CommentRepay {

    private static final long serialVersionUID = 1L;

    //主键id
    private String id;
    //作何Id
    private Integer authorId;
    //作者名字
    private String authorName;
    //内容
    private String content;
    //创建时间
    private Date createdTime;
    //喜欢数量
    private Integer likes;
    //更新时间
    private Date updatedTime;
    //评论Id
    private String commentId;
}
